package cn.com.self.security.mapper;


import cn.com.self.security.user.domain.User;
import cn.com.self.security.user.dto.user.UserDTO;
import org.apache.ibatis.annotations.Param;
import cn.com.self.security.common.core.Mapper;

public interface UserMapper extends Mapper<User> {
    /**
     * 根据用户名获取权限
     * @param username
     * @return
     */
    UserDTO getRolesByUsername(@Param("username") String username);

}